package com.blue.prepose.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 退款表(PaymentRefund)实体类
 *
 * @author xiaoyiming
 * @since 2020-05-08 23:29:34
 */
public class PaymentRefund implements Serializable {
    private static final long serialVersionUID = -29753888812257102L;
    /**
    * 主键ID,对应三方退款唯一ID
    */
    private Long id;
    /**
    * 支付主键ID
    */
    private Long payId;
    /**
    * 业务订单号
    */
    private Long orderId;
    /**
    * 唯一ID,幂等ID
    */
    private Long uniqueId;
    /**
    * 对应pay_tpye
    */
    private Integer refundType;
    /**
    * 退款金额
    */
    private BigDecimal refundAmount;
    /**
    * 退款状态 1.退款中 2.退款成功 3.退款失败
    */
    private Integer status;
    /**
    * 退款通知地址
    */
    private String notifyUrl;
    /**
    * 退款通知消息主题号
    */
    private String notifyMq;
    /**
    * 退款手续费
    */
    private BigDecimal refundFee;
    /**
    * 退款三方流水号
    */
    private String refundTradeNo;
    /**
    * 三方返回数据
    */
    private String returnMessage;
    /**
    * 扩展参数
    */
    private String extendParam;
    /**
    * 退款时间
    */
    private Date refundTime;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPayId() {
        return payId;
    }

    public void setPayId(Long payId) {
        this.payId = payId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(Long uniqueId) {
        this.uniqueId = uniqueId;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getNotifyMq() {
        return notifyMq;
    }

    public void setNotifyMq(String notifyMq) {
        this.notifyMq = notifyMq;
    }

    public BigDecimal getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(BigDecimal refundFee) {
        this.refundFee = refundFee;
    }

    public String getRefundTradeNo() {
        return refundTradeNo;
    }

    public void setRefundTradeNo(String refundTradeNo) {
        this.refundTradeNo = refundTradeNo;
    }

    public String getReturnMessage() {
        return returnMessage;
    }

    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }

    public String getExtendParam() {
        return extendParam;
    }

    public void setExtendParam(String extendParam) {
        this.extendParam = extendParam;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}